import Home from '@/views/HelloView.vue'
import About from '@/views/AboutView.vue'
import MainAppDataDemo from '@/views/MainAppDataDemo.vue'

const routes =
    [
        {
            path: '/',
            name: 'MainAppDataDemo',
            component: MainAppDataDemo,
            meta: {
                title: '主应用数据交互演示'
            }
        },
        {
            path: '/home',
            name: 'Home',
            component: Home
        },
        {
            path: '/about',
            name: 'About',
            component: About
        },
        {
            path: '/hello',
            name: 'hello',
            component: () => import('../views/HelloView.vue'),
        },
    ]

export default routes
